home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / PInterfaces / Strings.p < prev    next >
Encoding:
Text File  |  1994-11-11  |  1.1 KB  |  60 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Strings.p
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. }
  16.  
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT Strings;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __STRINGS__}
  27. {$SETC __STRINGS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC StringsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {    ConditionalMacros.p                                            }
  38.  
  39. {$PUSH}
  40. {$ALIGN MAC68K}
  41. {$LibExport+}
  42. {$IFC OLDROUTINELOCATIONS }
  43.  
  44. PROCEDURE C2PStrProc(aStr: UNIV Ptr);
  45. FUNCTION C2PStr(cString: UNIV Ptr): StringPtr;
  46. PROCEDURE P2CStrProc(aStr: StringPtr);
  47. FUNCTION P2CStr(pString: StringPtr): Ptr;
  48. {$ENDC}
  49.  
  50. {$ALIGN RESET}
  51. {$POP}
  52.  
  53. {$SETC UsingIncludes := StringsIncludes}
  54.  
  55. {$ENDC} {__STRINGS__}
  56.  
  57. {$IFC NOT UsingIncludes}
  58.  END.
  59. {$ENDC}
  60.